﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Quizzer.Model
{
    public abstract class ModelBase<T> where T : ModelBase<T>
    {
        public Guid Id { get; private set; }
        public static Dictionary<Guid, T> Items = new Dictionary<Guid, T>();

        public ModelBase()
        {
            Id = Guid.NewGuid();
            //Items.Add(Id, (T)this);
        }
    }
}
